<template>
  <div class="da">
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <div class="footer">
      <router-view></router-view>
      <van-tabbar route>
  <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
  <van-tabbar-item replace to="/fenleis" icon="search">分类</van-tabbar-item>
  <van-tabbar-item replace to="/shops" icon="home-o">购物车</van-tabbar-item>
  <van-tabbar-item replace to="/user" icon="search">我的</van-tabbar-item>
</van-tabbar>
    </div>
  </div>
</template>

<style lang="scss">
    *{
      padding: 0;
      margin: 0;
      list-style: none;
    }
    html,
    body,
    #app,
    .da{
      width: 100%;
      height: 100%;
    }
    .da{
      overflow: auto;
 
      background-color: white;
    }
    .box{
      flex: 1;
      overflow: auto;
      display: flex;
      flex-direction: column;
    }
    .header{
      height: 50px;
    }
    .meddle{
      overflow: auto;
      display: flex;
    }
    .footer{
      flex: 1;
      // display: flex;
      // overflow: auto;
     height: 50px;
    }
</style>
